﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace T4Utilities
{
    public class MethodParameter
    {
        public string TypeName { get; private set; }

        public string ParameterName { get; private set; }

        public MethodParameter(string typeName, string parameterName)
        {
            TypeName = typeName;
            ParameterName = parameterName;
        }

        public override string ToString()
        {
            return string.Format("{0} {1}", TypeName, ParameterName);
        }

        public string PropertyName
        {
            get
            {
                return ParameterName.Replace("t", "G");
            }
        }
    }
}
